package com.conception.designpattern.privatemethods;

public class OrderManager {

	public int orderID;

	public void saveOrder(String item, String qty) {
		int ID = getNextID();
		System.out.println("Order ID" + ID);
	}

	private int getNextID() {
		++orderID;
		return orderID;
	}

	public void setOrderID(int orderID) {
		this.orderID = orderID;
	}
}
